package com.bdqn.t350.util;

import com.bdqn.t350.pojo.User;

public class Test1 {

    public static void main(String[] args) {
        //正常创建对象,是无法创建
       //ConfigManager instance = new ConfigManager();
        ConfigManager instance = ConfigManager.getInstance();
        ConfigManager instance1 = ConfigManager.getInstance();
        ConfigManager instance2 = ConfigManager.getInstance();
        ConfigManager instance3 = ConfigManager.getInstance();
        ConfigManager instance4 = ConfigManager.getInstance();
        System.out.println(instance);
        System.out.println(instance1);
        System.out.println(instance2);
        System.out.println(instance3);
        System.out.println(instance4);
        System.out.println(instance4.getValue("aa.url"));
        System.out.println(instance3.getValue("aa.url"));


    }
}
